package com.subsequent.mapper;

import com.subsequent.dto.AssessQueryDTO;
import com.subsequent.pojo.Assess;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsequent.vo.AssessVO;

import java.util.List;

/**
* @author 不.凌
* @description 针对表【assess】的数据库操作Mapper
* @createDate 2025-05-08 15:55:08
* @Entity com.subsequent.pojo.Assess
*/
public interface AssessMapper extends BaseMapper<Assess> {
    /**
     * 获取评价数据
     * @param assessQueryDTO
     * @return
     */
    List<AssessVO> getAssessList(AssessQueryDTO assessQueryDTO);

    /**
     * 根据评价id获取评价数据
     * @param assessId
     * @return
     */
    List<AssessVO> getByAssess(Integer assessId);

    /**
     * 修改评价状态
     * @param assessVO
     * @return
     */
    int updateStatus(AssessVO assessVO);
}




